// region TODO 网关
// 网关默认图片
export const gatewayDefaultImageMap = new Map<string, URL>([
  ['YK-MT2-S702', new URL('@images/gateway/model/YK-MT2-ST02.png', import.meta.url)],
  ['YK-MT2-M702', new URL('@images/gateway/model/YK-MT2-MT02.png', import.meta.url)],
  ['YK-DT2-AB02', new URL('@images/gateway/model/YK-DT2-AM02.png', import.meta.url)],
  ['YK-MT2-VM04', new URL('@images/gateway/model/YK-MT2-VM04.png', import.meta.url)],
  ['YK-DT2-VM06', new URL('@images/gateway/model/YK-DT2-VM06.png', import.meta.url)]
])

// 网关型号数据
export const gatewayModelMap = new Map<string, string>([
  ['YK-MT2-S702', 'YK-MT2-S702'],
  ['YK-MT2-M702', 'YK-MT2-M702'],
  ['YK-DT2-AB02', 'YK-DT2-AB02'],
  ['YK-MT2-VM04', 'YK-MT2-VM04'],
  ['YK-DT2-VM06', 'YK-DT2-VM06'],
  ['YK-MT2-WF02', 'YK-MT2-WF02'],
  ['YK-MT2-ST12', 'YK-MT2-ST12']
])

// 网关型号对象的调试类型
export const gatewayModelToTypeMap = new Map<string, string>([
  ['YK-MT2-S702', 'S702'],
  ['YK-MT2-ST12', 'ST12']
])

// endregion

// region TODO 报警条件
// 报警条件显示文本
export const alarmConditionStrMap = new Map<number, string>([
  [0, '大于A'],
  [1, '小于A'],
  [2, '等于A'],
  [3, '大于A且小于B'],
  [4, '小于A或者大于B'],
  [5, '不等于A']
])
// endregion

// region TODO 物联网卡
export const cIdStatusMap = new Map<string, string>([
  ['0', '未知'], ['00', '正常'], ['01', '单项停机'], ['02', '停机'], ['03', '预销号'], ['04', '销号/拆机'], ['05', '过户'], ['06', '休眠'],
  ['07', '待激'], ['08', '已停用'], ['09', '库存'], ['10', '已失效'], ['11', '违章停机'], ['12', '挂失'], ['13', '用户保停'], ['14', '测试'],
  ['99', '不存在']
])
// endregion
